<template>
  <p :class="$style.red">
    This should be red
  </p>
</template>

<script>
  export default {}
</script>

<style module>
 .red{
   color: red;
 }
</style>